/*
 * tilesetImageLayer.hpp
 *
 *  Created on: Aug 9, 2013
 *      Author: jason
 */

#ifndef TILESETIMAGELAYER_HPP_
#define TILESETIMAGELAYER_HPP_
#include <string>
#include <tinyxml.h>

namespace Tmx
{
  class Image;
  class Map;
  class ImageLayer
  {
  public:
	  ImageLayer(const Map *map, int _depth);
	  ~ImageLayer();
	  void parse(TiXmlNode *imageLayerNode);
	  std::string getName() {return name;}
	  int getHeight() {return height;}
	  int getWidth() {return width;}
	  int getDepth() {return depth;}
	  float getOpacity() {return opacity;}
	  bool isVisible() {return visible;}
  private:
	  std::string name;
	  int height;
	  int width;
	  int depth;
	  float opacity;
	  bool visible;
	  const Map *pMap;
	  Image *image;
  };

}; // namespace Tmx


#endif /* TILESETIMAGELAYER_HPP_ */
